<template>
  <el-button :type="btnType" :icon="icon" :size="size" :disabled="isDisabled">{{text}}</el-button>
</template>

<script>
export default {
  props: {
    text: {
      type: String,
      default: ''
    },
    btnType: {
      type: String,
      default: 'primary'
    },
    icon: {
      type: String,
      default: ''
    },
    size: {
      type: String,
      default: ''
    },
    isDisabled: {
      type: Boolean,
      default: false
    }
  },
  // created() {console.log("创建");}
}
</script>

<style lang="scss" scoped>

</style>